package com.wiz.weixin.common;

/**
 * 常量定义
 */
public interface Constant {
	
//	final String PAY_URL="http://112.124.29.201/pay";
//	final String REMOTE_URL="http://112.124.29.201/crm";
//	final String CENTER_HTTP_URL="http://112.124.29.201/center";
//	final String REMOTE_URL_IP="112.124.29.201/crm";
	//======================微信url==========================//
	/**得到客户基本信息*/
	String USER_INFO_URL = "https://api.weixin.qq.com/cgi-bin/user/info?access_token=TOKEN&openid=OPENID ";
	
	//================================================//
	/**根据openId查询会员信息*/
	String QUERY_MEMBER_URL = REMOTE_URL+"/member/listByOpenId/";
	/**注册会员*/
	String ADD_MEMBER_URL = REMOTE_URL+"/member/add";
	/**账户支付明细*/
	String LIST_AMOUNT_HISTORY = REMOTE_URL+"/member/listAmountHistory/";
	/**发送验证码*/
	String SEND_CODE_URL = "http://sms.365yzg.com/sms/send";
	/**扫一扫加油授权*/
	String AUTH_URL = CENTER_HTTP_URL+"/authority/wx/auth/";
	
	/**web支付*/
	String PAY_WEB_URL = PAY_URL+"/p/web";
	/**web取消*/
	String CANCEL_WEB_URL = PAY_URL+"/c/web";
	
	
	/**客户下账户url*/
	String AMOUNT_DETAIL_URL = "http://wx.wiz-tech.com.cn/member/listAccount";
	/**注册会员页面*/
//	String MEMBER_REGISTER_URL ="http://wx.wiz-tech.com.cn/member/toRegister?stationId=|STATIONID|&|rand=RAND|&openId=|openId|";
	String MEMBER_REGISTER_URL ="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx5d7213f7ae8e6fdf&"
			+ "redirect_uri=http%3a%2f%2fwx.wiz-tech.com.cn%2fmember%2ftoRegister%3fstationId%3d|STATIONID|%26rand%3d|RAND|%26openId%3d|openId|&;"
			+ "response_type=code&scope=snsapi_base&state=123#wechat_redirect";
	//wx.wiz-tech.com.cn
	
	
}
